package org.neu.ccs.secureim;

public class MasterMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		if( args.length != 1 )
		{
			System.out.println("Please pass in 'server', 'client', 'genusers' or 'keygen'");
			return;
		}
		
		if( args[0].equalsIgnoreCase("server") )
			ServerMain.main(args);
		else if( args[0].equalsIgnoreCase("client"))
			ClientMain.main(args);
		else if( args[0].equalsIgnoreCase("keygen"))
			keygen.main(args);
		else if( args[0].equalsIgnoreCase("genusers"))
			GenerateUsersFile.main(args);

	}

}
